﻿using System.Runtime.InteropServices;

namespace TPXSDK.NET.Log;

/// <summary>
/// 日志元数据描述结构
/// </summary>
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
public struct LogMeta
{
    /// <summary>
    /// 日志生成绝对时间
    /// </summary>
    public uint UTC;

    /// <summary>
    /// 日志条目个数
    /// </summary>
    public uint Count;

    /// <summary>
    /// 日志生成时间戳
    /// </summary>
    public uint TS;
}
